package com.ruoyi.thd.enums;

public enum EnumErrorResult {
    ERROR_UN_SET_TERMNO("10001", "请先设置当前抽奖期号"),
    ERROR_MAX_DRAW_COUNT("10002", "抽奖次数已经用完"),
    ERROR_NO_USERS("10003", "当前没有可抽奖的用户"),
    ERROR_UN_LUCKY_USER("10004", "未抽取到幸运用户"),
    ERROR_DRAW_FAILURE("99999", "抽奖失败"),
    ;
    private String code;
    private String message;

    EnumErrorResult(String code, String message) {
        this.code = code;
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
